using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
	[Serializable]
	public class StStockmanagematEntity : EntityBase
	{
		public StStockmanagematTable TableSchema
		{
			get
			{
				return (StStockmanagematTable)_tableSchema;
			}
		}

		public StStockmanagematEntity()
		{
			_tableSchema = StStockmanagematTable.Current;
		}

		#region 属性列表
		
		public Decimal? StockManageMatID
		{

			
			get{ return GetData<Decimal>(StStockmanagematTable.C_STOCKMANAGEMATID); }
			
			
			set{ SetData(StStockmanagematTable.C_STOCKMANAGEMATID, value); }
		}

		
		public String BillType
		{

							
			get{ return Convert.ToString(GetData(StStockmanagematTable.C_BILLTYPE));} 

			
			set{ SetData(StStockmanagematTable.C_BILLTYPE, value); }
		}

		
		public String BillCode
		{

							
			get{ return Convert.ToString(GetData(StStockmanagematTable.C_BILLCODE));} 

			
			set{ SetData(StStockmanagematTable.C_BILLCODE, value); }
		}

		
		public String MaterialID
		{

							
			get{ return Convert.ToString(GetData(StStockmanagematTable.C_MATERIALID));} 

			
			set{ SetData(StStockmanagematTable.C_MATERIALID, value); }
		}

		
		public Decimal? StockNum
		{

			
			get{ return GetData<Decimal>(StStockmanagematTable.C_STOCKNUM); }
			
			
			set{ SetData(StStockmanagematTable.C_STOCKNUM, value); }
		}

		
		public DateTime? InStockDate
		{

			
			get{ return GetData<DateTime>(StStockmanagematTable.C_INSTOCKDATE); }
			
			
			set{ SetData(StStockmanagematTable.C_INSTOCKDATE, value); }
		}

		
		#endregion
	}
}

